<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<style type="text/css">
			.love{
				color: red;
			}
		</style>
		<title></title>
	</head>
	
	<body>
		<!-- 为相同元素定义clss -->
		<div>绿叶学习网</div>
		<div class="love">绿叶学习网</div>
		<div class="love">绿叶学习网</div>
		<div>绿叶学习网</div>
		<!-- 为不同的元素定义clss -->
		<p class="love">绿叶学习网</p>
		<span class="love">绿叶学习网</span>
	</body>
</html>